package com.lanren.common.http;

import com.lanren.easyhttp.callback.CallBack;
import com.lanren.easyhttp.callback.CallBackProxy;
import com.lanren.easyhttp.request.PostRequest;

import io.reactivex.disposables.Disposable;

public class CustomPostRequest extends PostRequest {
    public CustomPostRequest(String url) {
        super(url);
    }

    @Override
    public <T> Disposable execute(CallBack<T> callBack) {
        return super.execute(new CallBackProxy<CustomApiResult<T>, T>(callBack) {
        });
    }
}
